package com.itheima.marking_system.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "图片实体类", description = "图片实体类")
@TableName("picture")
public class PictureEntity {
    @ApiModelProperty(value = "图片id", name = "pictureId", required = true, example = "1")
    private Long id;
    @ApiModelProperty(value = "图片名称", name = "pictureName", required = true, example = "图片1")
    private String name;
    @ApiModelProperty(value = "图片数据", name = "picture", required = true)
    private byte[] data;
    @ApiModelProperty(value = "教师id", name = "teacherId", required = true, example = "1")
    private Long teacherId;
    @ApiModelProperty(value = "作业id", name = "zipId", required = true, example = "1")
    private Long zipId;
}
